/**
 * Provides the utilites used by library
 * @class _jsc.util
 */

_jsc.util = {
	/**
	 * Attach event handler to specified element's specified event.
	 * @method addEvent
	 * @param {HTML Object} specified element
	 * @param {String} specified event name without 'on'
	 * @param {Function} event handler
	 * @将被废弃，转移到_jsc.evt
	 */
	addEvent: function(o, c, h) {
		if (_jsc.client.isIE) {
			o.attachEvent('on'+c, h);
		} else {
			o.addEventListener(c, h, false);
		};
		return true;
	}
};